
ulcexam_DATA = java.ulc javascript.ulc python3.ulc sql.ulc \
	simplest.ulc
ulcexamdir = $(datadir)

ULC2CLASS = $(top_builddir)/ulc2class/ulc2class
DESTDIR_INCLDIR = $(DESTDIR)$(includedir)

install:
	install -m644 *.ulc $(DESTDIR)$(datadir)
	$(ULC2CLASS) -o $(DESTDIR_INCLDIR)/JavaLex.h -n JavaLex java.ulc
	$(ULC2CLASS) -o $(DESTDIR_INCLDIR)/JavaScriptLex.h -n JavaScriptLex javascript.ulc
	$(ULC2CLASS) -o $(DESTDIR_INCLDIR)/Python3Lex.h -n Python3Lex python3.ulc
	$(ULC2CLASS) -o $(DESTDIR_INCLDIR)/SqlLex.h -n SqlLex sql.ulc
